<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<c:url value="/a/batch/list" var="pf" />
<div class="sidebar" id="sidebar">
    <div id="tabs">
        <ul>
            <li><a href="/a/category/autoShow?bid=${bid}&cid=${cid}&pf=${pf}"><fmt:message key="message.category.name"/></a></li>
            <li><a href="/a/brand/autoShow?bid=${bid}&cid=${cid}&pf=%2Fa%2Fbatch%2Flist"><fmt:message key="message.brand.name"/></a></li>
        </ul>
    </div>
</div>
<script type="text/javascript">
    $(function () {
        $("#tabs").tabs({
            event: "mouseover",
            beforeLoad: function (event, ui) {
                ui.jqXHR.error(function () {
                    ui.panel.html(
                            "发生意外错误，请刷新后重试！");
                });
            }
        });
    });
</script>